import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 工艺单
 * */
export const spinSpecSheetCreate = (data) => postRequest('/spin/spec-sheet/create', data);
export const spinSpecSheetUpdate = (data) => putRequest('/spin/spec-sheet/update', data);
export const spinSpecSheetDelete = (params) => deleteRequest('/spin/spec-sheet/delete', params);
export const spinSpecSheetGet = (params) => getRequest('/spin/spec-sheet/get', params);
export const spinSpecSheetPage = (params) => getRequest('/spin/spec-sheet/page', params);
export const spinSpecSheetExportExcel = (params) => getRequest('/spin/spec-sheet/export-excel', params);
export const spinSpecSheetSubmitAudit = (params) => postRequest('/spin/spec-sheet/submit-audit', params);
export const spinSpecSheetClearSubmitAudit = (params) => postRequest('/spin/spec-sheet/clear-submit-audit', params);
export const spinSpecSheetAudit = (params) => postRequest('/spin/spec-sheet/audit', params);
export const spinSpecSheetClearAudit = (params) => postRequest('/spin/spec-sheet/clear-audit', params);
export const spinSpecSheetCreateAudit = (params) => postRequest('/spin/spec-sheet/create-audit', params);
export const spinSpecSheetUpdateAudit = (params) => putRequest('/spin/spec-sheet/update-audit', params);
export const spinSpecSheetClose = (params) => postRequest('/spin/spec-sheet/close', params);
export const spinSpecSheetClearClose = (params) => postRequest('/spin/spec-sheet/clear-close', params);
export const spinSpecSheetUpdateAuditState = (params) => postRequest('/spin/spec-sheet/update-audit-state', params);
